package ace.module.weixin.core.impl.dao.repository;


import ace.cmp.spring.data.jdbc.querydsl.core.repository.QuerydslJdbcBaseRepository;
import ace.module.weixin.core.impl.constant.WeixinCoreConstant;
import ace.module.weixin.core.impl.dao.entity.WxsMiniAppConfig;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.springframework.stereotype.Repository;

/**
 * 微信小程序配置 repository.
 *
 * @author Caspar
 */
@DS(WeixinCoreConstant.DEFAULT_DATA_SOURCE_NAME)
@Repository
public interface WxsMiniAppConfigRepository extends QuerydslJdbcBaseRepository<WxsMiniAppConfig,Long> {

  WxsMiniAppConfig getByAppIdAndDeleteFlag(String appId, Long deleteFlag);
}